package com.ruoyi.ring.service;

import java.util.List;
import com.ruoyi.ring.domain.RingTraining;

/**
 * 训练Service接口
 * 
 * @author liuwp
 * @date 2025-08-18
 */
public interface IRingTrainingService 
{
    /**
     * 查询训练
     * 
     * @param id 训练主键
     * @return 训练
     */
    public RingTraining selectRingTrainingById(Long id);

    /**
     * 查询训练列表
     * 
     * @param ringTraining 训练
     * @return 训练集合
     */
    public List<RingTraining> selectRingTrainingList(RingTraining ringTraining);

    /**
     * 根据业务主键查询一条记录：训练
     *
     * @param ringTraining 训练
     * @return 训练
     */
    public RingTraining selectOneRingTraining(RingTraining ringTraining);

    /**
     * 新增训练
     * 
     * @param ringTraining 训练
     * @return 结果
     */
    public int insertRingTraining(RingTraining ringTraining);

    /**
     * 修改训练
     * 
     * @param ringTraining 训练
     * @return 结果
     */
    public int updateRingTraining(RingTraining ringTraining);

    /**
     * 修改训练
     *
     * @param ringTraining 训练
     * @param ringTraining 训练条件
     * @return 结果
     */
    public int updateRingTrainingCondition(RingTraining ringTraining, RingTraining ringTrainingCondition);

    /**
     * 批量删除训练
     * 
     * @param ids 需要删除的训练主键集合
     * @return 结果
     */
    public int deleteRingTrainingByIds(Long[] ids);

    /**
     * 删除训练信息
     * 
     * @param id 训练主键
     * @return 结果
     */
    public int deleteRingTrainingById(Long id);

    /**
     * 条件删除训练
     *
     * @param ringTraining 训练
     * @return 结果
     */
    public int deleteRingTrainingByCondition(RingTraining ringTraining);
}
